package com.musemun.pojo.Vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class CrFixLendQueryTimeVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @Max(value = 3, message = "输入的crNO超出范围!!!")
    @Min(value = 1, message = "输入的crNO错误")
    private int operate;

    @NotNull(message = "不能为空")
    private Date leftTime;

    private Date rightTime;
}
